home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / tests / demos.dialogs < prev    next >
Text File  |  1999-09-16  |  9KB  |  350 lines

  1. 1 //Introduction to scilab
  2. 2 //Graphics I
  3.  1   //plot2d 
  4.  2   //plot2d1
  5.  3   //plot2d3
  6.  4   //plot2d1
  7.  5   //Histplot
  8.  6   //fplot2d
  9.  7   //param3d
  10.  8   //param3d
  11.  9   //plot3d
  12.  10  //fplot3d
  13.  11  //plot3d1
  14.  12  //fplot3d1
  15.  13  //contour
  16.  14  //fcontour
  17.  15  //champ
  18.  16  //fchamp
  19.  17  //grayplot
  20.  18  //fgrayplot
  21.  19  //errbar
  22.  20  //abaque
  23.  21  //zgrid
  24.  22  //xgeom 1
  25.  23  //xgeom 2
  26.  24  //contour (3d) 2
  27.  25  //contour (3d) 3
  28.  26  //contour (3d) 4
  29.  27  //plot2d+gr_menu
  30.  28  //plot3d+gr_menu
  31.  29  //plots+xsetech
  32.  30  //fac3d
  33.  31  //fac3d1
  34.  0   //exit
  35. 3 //Graphics Misc
  36.  1   //1
  37.  2   //2
  38.  3   //3
  39.  4   //4
  40.  0   //exit
  41. 4 //Graphics : Xprimitives
  42.  1   //Graphics X11 1
  43.  2   //Graphics X11 2
  44.  3   //Graphics X11 3
  45.  4   //Graphics X11 4
  46.  0   //exit
  47. 5 //Graphics : Animation
  48.  1   // Plot3d1
  49.  2   // param3d 
  50.  3   // param3d lorenz curve
  51.  4   // contour
  52.  5   // Plot3d
  53.  6   // N pendulum
  54.  7   // Plot3d1 with xtape
  55.  0   //exit
  56. 6 //Graphics : Finite Elements
  57.  1   // Graphics : Fec 1
  58.  2   // Graphics : Fec 2
  59.  0   //exit
  60. 7 //Inverted pendulum
  61. 8 //n-pendulum
  62.   1  //read a precomputed trajectory
  63. 8 //n-pendulum
  64.   2  //Simulation with ode (may fail)
  65.     2 //Go on
  66.         -1.3912301// theta1
  67.         -1.6560533// theta2
  68.         -3.1197583// theta3
  69.         -1.5835081// theta4
  70.         -1.5713455// theta5
  71.         -1.1955653// theta6
  72.         -8.2452393// theta7
  73.         -1.3010066// theta8
  74.         1.1671875// theta9
  75.         -18.619763// theta10
  76.         1.4255478// thetad1
  77.         -6.5174875// thetad2
  78.         2.2944054// thetad3
  79.         2.3835463// thetad4
  80.         -5.9062465// thetad5
  81.         9.8190264// thetad6
  82.         -0.8858167// thetad7
  83.         -15.979205// thetad8
  84.         -14.57535// thetad9
  85.         0.4054334// thetad10
  86.        o         //Ok
  87.      1 //With last point trajectory
  88.     1 // Stop
  89. 9  // Car parking
  90.  1   //car
  91.     0           //x_0
  92.     4           //y_0
  93.     1.0471976   //theta
  94.     -0.5235988  //phi
  95.     o           //Ok
  96.  2   //Two trailer truck
  97.     -2          //x2
  98.      3          //y2
  99.      0.5235988  //theta2
  100.      0          //theta12
  101.      0          //theta10
  102.      1          //phi
  103.      o          //Ok
  104.  0  //Exit Car parking
  105. 10  //Wheel Simulation 
  106.   1   //reading a precomputed trajectory
  107. 10  //Wheel Simulation 
  108.   2   // simulation with ode (may fail)
  109.     2   // Go on
  110.        -10.940468 //phi
  111.         1.0631321 //theta
  112.         73.444368 //psi
  113.        -1.3947561 //Dpsi
  114.        -3.5513231 //Dtheta
  115.         3.6337222 //Dpsi
  116.        -1.5013428 //x
  117.         3.5348768 //y
  118.         o         //Ok
  119.     1  //Stop
  120. 11 //Bike Simulation (1)
  121.   1  // bike-1 
  122.   2  // bike-2
  123.   3  // bike-3
  124.   4  // bike-4
  125.   5  // bike-4p
  126.   6  // bike-5
  127.   0  // Exit Bike Simulation (1)
  128. 12  //Bike Simulation (2)
  129. 13  //Bike Picture
  130. 14  //Signal Processing
  131.   1    // Spectral Estimation
  132.   2    // IIR filter Design
  133.      lp         //type
  134.      3          //order
  135.      ellip      //design
  136.      0.15 0.25  //cut-off frequencies
  137.      0.08 0.035 // error values
  138.      o          //Ok
  139.   2   // IIR filter Design
  140.      bp         //type
  141.      3          //order
  142.      butt       //design
  143.      0.15 0.25  //cut-off frequencies
  144.      0.08 0.030 // error values
  145.      o           //Ok
  146.   3   // Minimax FIR filter design
  147.   0 //Exit Signal Processing
  148. 16 //Fortran translator
  149.   1    //Clause, loops ans operations
  150. 16 //Fortran translator
  151.   2    //matrix concatenation
  152. 16 //Fortran translator
  153.   3    // concatenation and inversion
  154. 16 //Fortran translator
  155.   4    // simple primitives
  156. 16 //Fortran translator
  157.   5    // complex number
  158. 16 //Fortran translator
  159.   6    //matrix division
  160. 17 // ODE'S
  161. 18 // ARMA
  162. 19 // Tracking
  163. 20 // Robust control
  164. 21 //LMITOOL
  165.   1  // H_infinity gain
  166.   default
  167.   c
  168.   [0,1,0;2,3,1;-1,-2,0]
  169.   [1,0;-2,1;0,1]
  170.   [1,2,0;0,1,-2]
  171.   [0,0;0,0]
  172.   o
  173. 21 //LMITOOL
  174.   2  // Output Feedback
  175.   default
  176.   c
  177.   [0,1,0;2,3,1;-1,-2,0]  // A
  178.   [1,0;-2,1;0,1]         // B
  179.   [1,2,0;0,1,-2]         // C
  180.   o
  181. 21 //LMITOOL
  182.   3  // Sylvester equation
  183.   default
  184.   c
  185.   [0,1,0;2,3,1;-1,-2,0]  // A
  186.   [1,0;-2,1]             // B
  187.   [1,2;0,1;1,-2]         // C
  188.   o
  189. 22 //METANET
  190.   Yes //try the demo
  191.     5   //Alfort-Ecole Veterinaire
  192.     16  //Bastille
  193.     1   //Zoom of the path (Yes)
  194.   1 // another travel (yes)
  195.     9   //Argentine
  196.     1   //INRIA
  197.     Travel   //TRavel
  198.     10  //
  199.     1   //INRIA
  200.     Cancel   //cancel
  201.     15   //
  202.     16  //Bastille
  203.     2   //Zoom of the path (No)
  204.   2 //another travel (no)
  205. 23 //Control Examples
  206.   1 // LQG
  207.     1  // Continuuous time
  208.       [(s-1)/(s^2-5*s+1)] // system
  209.       o                   //OK
  210.       [1, 0; 0, 1]        //x_weighting matrix
  211.       o                   //OK
  212.       1                   //u_weighting matrix
  213.       o                   //OK
  214.       [1, 0; 0, 1]        // x-noise cov matrix
  215.       o                   //OK
  216.       1                   // y-noise cov matrix
  217.       o                   //OK
  218.          1                // Frequency response
  219.          2                // time response
  220.            0.1              //sampling period
  221.            20               //tmax
  222.            o                //ok
  223.              1                //step response
  224.          2                // time response
  225.            0.1              //sampling period
  226.            20               //tmax
  227.            o                //ok
  228.              2                //Impulse response
  229.          0                // Cancel
  230.   1 // LQG
  231.     2  // Discrete time
  232.       (z+1)/(z^2-5*z+2)
  233.       o                   //OK
  234.       [1, 0; 0, 1]        //x_weighting matrix
  235.       o                   //OK
  236.       1                   //u_weighting matrix
  237.       o                   //OK
  238.       [1, 0; 0, 1]        // x-noise cov matrix
  239.       o                   //OK
  240.       1                   // y-noise cov matrix
  241.       o                   //OK
  242.          1                // Frequency response
  243.          2                // time response
  244.            30               //tmax
  245.            o                //ok
  246.              1                //step response
  247.          2                // time response
  248.            30               //tmax
  249.            o                //ok
  250.              2                //Impulse response
  251.          0               // Cancel
  252.   2  // Mixed sensitivity
  253.       (s-1)/((s-1)^2*(s+2)) // Nominal plant
  254.       o                     // Ok
  255.       s                     // W1
  256.       1                     // W2
  257.       1                     // W3
  258.       o                     // Ok
  259.       0.01                  //gamma min
  260.       1000                  //gamma max
  261.       50                    // #iterations
  262.       o                     // Ok
  263.       Yes                   // S function
  264.       No                    // R function
  265.       Yes                   // T function
  266.       o                     // Ok
  267.   3  // PID
  268.       1                     // Continuuous time
  269.       (s-1)/(s^2+5*s+1)     // Nominal plant
  270.       o                     // Ok
  271.       -1.2                  // Kp
  272.       1                     // T0
  273.       0.1                   // T1
  274.       o                     // Ok
  275.          1                // Frequency response
  276.          2                // time response
  277.            0.1              //sampling period
  278.            50               //tmax
  279.            o                //ok
  280.              1                //step response
  281.          2                // time response
  282.            0.1              //sampling period
  283.            50               //tmax
  284.            o                //ok
  285.              2                //Impulse response
  286.          0                // Cancel
  287.   0 //Exit Control examples
  288. 24 //scicos
  289.  1  //Thermostat
  290.       0,556.34518,341.88034 //Simulate..
  291.       0,556.34518,314.52991 //Run
  292.       0,489.3401,152.70655  //Scope
  293.        Scope  //label
  294.         2      //number of inputs
  295.         -1 -5  //input color
  296.         10     //output window number
  297.        -30     //ymin
  298.         15     //ymax
  299.         30     //refresh period
  300.         2      //buffer size
  301.         0      //dt
  302.         o      //ok
  303.       0,567.51269,315.66952//Run
  304.         1      //restart
  305.       0,564.46701,294.01709//Back
  306.       0,558.37563,271.22507//Exit
  307.       Yes
  308.   2 // Continuuous plant ..
  309.        0,309.64467,238.17664 // Block
  310.         //Block label
  311.     1   //Numerator
  312.     1+s //denominator
  313.     o   //ok
  314.        0,395.93909,324.78632 // Block
  315.        0,577.66497,268.94587 //Exit
  316.        0,555.32995,341.88034 //Simulate..
  317.        0,559.39086,315.66952 //Run
  318.        0,567.51269,295.1567 //Back
  319.        0,557.36041,270.08547 //Exit
  320.     Yes  //really exit
  321.   3 //Simple demo
  322.        0,564.46701,340.74074 //Simulate..
  323.        0,562.43655,319.08832 //Run
  324.        0,567.51269,295.1567 //Back
  325.        0,565.48223,267.80627 //Exit
  326.   4 //Bouncing Ball
  327.        0,252.79188,231.33903 // Block
  328.        0,579.69543,265.52707 //Exit
  329.        0,559.39086,340.74074 //Simulate..
  330.        0,563.45178,314.52991 //Run
  331.        0,563.45178,288.31909 //Back
  332.        0,564.46701,270.08547 //Exit
  333.   5 //Table Lookup
  334.        0,557.36041,343.01994 //Simulate..
  335.        0,558.37563,315.66952 //Run
  336.        0,562.43655,295.1567 //Back
  337.        0,562.43655,270.08547 //Exit
  338.   6 //Threshold
  339.        0,554.31472,340.74074 //Simulate..
  340.        0,557.36041,321.36752 //Run
  341.        0,563.45178,294.01709 //Back
  342.        0,561.42132,270.08547 //Exit
  343.   7 //Scilab Block
  344.        0,552.28426,344.15954 //Simulate..
  345.        0,561.42132,314.52991 //Run
  346.        0,563.45178,295.1567 //Back
  347.        0,561.42132,272.36467 //Exit
  348.   0 //Exit scicos demo
  349. 0 //EXIT DEMOS
  350.